package cn.shengongying.admin.dto;

import cn.shengongying.bean.DataTablePageResult;
import cn.shengongying.dubbo.modal.CircleList;
import lombok.Getter;
import lombok.Setter;

/**
 * author: RXK
 * date: 2022/2/19 星期六
 * desc:
 */
@Getter
@Setter
public class CircleListInDTO extends DataTablePageResult {

    private Long id;


    private Long userId;

    private String name;

    private String img;

    private String description;

    private Integer recommend;

    private Integer status;

    private Integer weight;


    public CircleList bannerList() {
        CircleList list = new CircleList();
        list.setId(this.getId());
        list.setName(this.name);
        list.setImg(this.img);
        list.setDescription(this.description);
        list.setRecommend(this.recommend);
        list.setCircleStatus(this.status);
        list.setWeight(this.weight);
        return list;
    }


}
